package com.halflife.framework.generator.template.simple;

import com.halflife.framework.generator.GenerateUtil;
import com.halflife.framework.generator.annotation.QueryAnn;
import org.apache.commons.lang.StringUtils;

import java.lang.reflect.Field;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhaoyf on 2018/8/25.
 */
public  class RepositoryAnalysis extends  BaseAnalysis{
    public RepositoryAnalysis(Class clazz) {
        super(clazz);
    }

    @Override
    public void setDataMap() {

    }
    protected String getTemplateFile(){
        return "repository.ftl";
    }
    protected  String getFileDir(){
        return this.getDefaultFileDir();
    }

    protected String getFileName() {
        return this.clazz.getSimpleName()+"Repository.java";
    }
}
